package cn.edu.scau.cmi.mingjunhui.hibernate.domain;

public class Student implements java.io.Serializable {
	//private static final long serialVersionUID = 1L;
	
	public Student() {
	}
	public Student(Long id) {
		this.id = id;
	}
	private Long id;
	private String name;
	private Long teacher;
	public Long getTeacher() {
		return teacher;
	}
	public void setTeacher(Long teacher) {
		this.teacher=teacher;
	}
	public Long getId() {
		return id;
	}
	public String getName() {
		return name;
	}
	public void setId(Long id) {
		this.id=id;
	}
	public void setName(String name) {
		this.name=name;
	}
}
